package com.fulihui.wgj.facade.dto;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
public class WxTemplateDTO implements Serializable {

    private static final long serialVersionUID = -4818857879879149317L;

    private Long id;

    /**
     * 公众号appid
     */
    private String appId;

    /**
     * 公众号模板id
     */
    private String templateId;

    /**
     * 模板标题
     */
    private String title;

    /**
     * 帐号设置的主营行业
     */
    private String primaryIndustry;

    /**
     * 帐号设置的副营行业
     */
    private String deputyIndustry;

    /**
     * 模板内容
     */
    private String content;

    /**
     * 模板示例
     */
    private String example;

    /**
     * 模板状态
     * {@link com.fulihui.common.enums.TemplateStatusEnum}
     */
    private Long status;

    private Date gmtCreate;

    private Date gmtModified;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", appId=").append(appId);
        sb.append(", templateId=").append(templateId);
        sb.append(", title=").append(title);
        sb.append(", primaryIndustry=").append(primaryIndustry);
        sb.append(", deputyIndustry=").append(deputyIndustry);
        sb.append(", content=").append(content);
        sb.append(", example=").append(example);
        sb.append(", status=").append(status);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append("]");
        return sb.toString();
    }
}